class AddSlugs < ActiveRecord::Migration
  def self.up
    add_column :posts, :slug, :string
    add_column :categories, :slug, :string
    add_column :tutorials, :slug, :string
    add_column :tutorial_categories, :slug, :string
  end

  def self.down
    remove_column :posts, :slug
    remove_column :categories, :slug
    remove_column :tutorials, :slug
    remove_column :tutorial_categories, :slug    
  end
end
